src=main.cpp
bin=a.out

CFLAGS=#-I../../third/log-system/include #-Wall
CLIBS=-largon2  #注意需要下载 libargon2-dev 包, password_hash.hpp 依赖 libargon2 库

all: $(bin)

$(bin): $(src)
	g++ $(CFLAGS) -o $(bin) $(src) -std=c++14 -g -lsqlite3 $(CLIBS)

.PHONY: clean run
clean:
	@rm -f $(bin)
run:
	./$(bin)